package org.wlgzs.com.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
/**
 * @ProjectName: internet_campus
 * @Package: org.wlgzs.com.entity
 * @ClassName: Message
 * @Description: java类作用描述
 * @Author: alj
 * @CreateDate: 2019/1/21 4:58
 * @UpdateUser: 更新者
 * @UpdateDate: 2019/1/21 4:58
 * @UpdateRemark: 更新说明
 * @Version: 1.0*/
@TableName("message")
@Data
@NoArgsConstructor(access = AccessLevel.PUBLIC)
@AllArgsConstructor(access = AccessLevel.PUBLIC)
public class Message implements Serializable {

    @TableId(value="id",type=IdType.AUTO)
    private Integer id;

    private String content;

    @TableField("issued_date")
    private Date issuedDate;

    private String remark;


}